<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<script src="page/js/lib/jquery/jquery.js"></script>
<link rel="stylesheet" href="page/js/lib/codemirror/lib/codemirror.css">
<script src="page/js/lib/codemirror/lib/codemirror.js"></script>
<script src="page/js/lib/codemirror/mode/clike/clike.js"></script>
<link rel="stylesheet" href="page/js/lib/codemirror/theme/default.css">
<title>demoAjax123</title>
<script type="text/javascript">
$(function(){
    var responseText = $.ajax({
        method: "get",
        url:"coderead",
        data:"doc=CodereadServlet&currentLine=9",
        async: false
        //context: $("#coderead1"),
        //success: function(data){
        //    $("#coderead1").html(data);
            
        }
    ).responseText;
    
    $("#coderead1").html(responseText);
    
    $.ajax({
        method: "get",
        url:"coderead",
        data: "doc=CodeReadBean&currentLine=19",
        async: false,
        //context: $("#coderead2"),
        success: function(data){
            $("#coderead2").html(data);
        }
    });
    
});
</script>
</head>
<body>
<div id="coderead1"></div>
<br/>
<div id="coderead2"></div>
</body>
</html>